package com.woniu.shop.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户投诉表
 * </p>
 *
 * @author malei
 * @since 2023-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_complaint")
@ApiModel(value="Complaint对象", description="用户投诉表")
public class Complaint implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "投诉表ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "门店ID")
    private String shopId;

    @ApiModelProperty(value = "图片地址")
    private String complaintPicture;

    @ApiModelProperty(value = "投诉内容")
    private String complaintContent;

    @ApiModelProperty(value = "门店回复")
    private String shopReply;

    @ApiModelProperty(value = "投诉状态;0-投诉中，1-已处理")
    private String complaintType;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "逻辑删除;0-未删除，1-已删除")
    @TableLogic
    private String isDeleted;

    @ApiModelProperty(value = "创建时间;投诉时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}
